package com.example.service;

import com.example.entity.Shoucang;
import com.github.pagehelper.PageInfo;

public interface IShangpinService {
    PageInfo<Shoucang> findAll(String name, Integer typeId, Integer pageNum, Integer pageSize);

    void delete(Integer id);

    Shoucang getById(Integer id);

    void update(Shoucang shangpin);


    Shoucang findOneByProductId(Integer goodsId);
}
